package com.tingyuge.base.design.mediator;

/**
 * 市场部
 * @Created by xiaodao
 */
public class Market implements Deparment {
   private Mediator m ;

    public Market(Mediator m) {
        this.m = m;
        m.register("Market",this);
    }

    @Override
    public void selfAction() {
        System.out.println("加大力度,扩展市场....");
    }

    @Override
    public void outAction() {

        System.out.println("市场扩展需要钱......");
    }
}
